package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.entity.HouseholdAssets;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface HouseholdAssetsMapper {

    HouseholdAssets selectHouseholdAssetsById(String id);

    void insertHouseholdAssets(HouseholdAssets householdAssets);

    void updateHouseholdAssets(HouseholdAssets householdAssets);

    void deleteHouseholdAssets(String id);

    List<HouseholdAssets> selectAllHouseholdAssets(@Param("assetName") String assetName, @Param("offset") int offset, @Param("limit") int limit);

    int countAllHouseholdAssets(@Param("assetName") String assetName);
}
